package com.example.librarymanagement.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author zjia
 */
@Data
@Accessors(chain = true)
public class PeriodicalType {

    @ApiModelProperty(value = "ID")
    @TableId
    private Integer id;

    @ApiModelProperty(value = "国际标准书号")
    private String issn;

    @ApiModelProperty(value = "统一刊号")
    private String unifyingCallNumber;

    @ApiModelProperty(value = "中文名")
    private String cName;

    @ApiModelProperty(value = "期刊名称")
    private String name;

    @ApiModelProperty(value = "编辑部")
    private String sponsors;

    @ApiModelProperty(value = "总期数")
    private String totalIssue;

    @ApiModelProperty(value = "类型id")
    private Integer typeId;

    @ApiModelProperty(value = "语种")
    private String languages;

    @ApiModelProperty(value = "出版单位")
    private String publisher;

    @ApiModelProperty(value = "期数列表")
    @TableField(exist = false)
    private List<Periodical> periodicalList;
}
